package com.smartscreen.homeschoolconnection.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smartscreen.homeschoolconnection.dto.*;

import java.util.List;
import java.util.Map;

public interface HomeSchoolService {
    
    // 家长绑定学生
    StudentBindingInfo bindStudent(String parentId, BindStudentRequest request);
    
    // 获取已绑定学生列表
    List<StudentBindingInfo> getBindings(String parentId);
    
    // 获取消息列表
    Map<String, Object> getMessages(String parentId, Integer page, Integer pageSize, String type);
    
    // 标记消息为已读
    void markMessageAsRead(String messageId);
    
    // 发送消息给教师
    Map<String, String> sendMessageToTeacher(String parentId, SendMessageRequest request);
    
    // 获取对话列表
    List<ConversationInfo> getConversations(String userId, String userType);
    
    // 获取对话消息记录
    List<MessageInfo> getConversationMessages(String conversationId);
}